package com.hoshiibuy.global.entity;

import java.io.Serializable;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 关系属性表
 * </p>
 *
 * @author campchen
 * @since 2019-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_relationships_attr")
public class SysRelationshipsAttr implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
    * 关系id
    */
    private Long rid;


    /**
    * 属性id
    */
    private Long attrId;


    /**
    * 是否可用
    */
    private Integer enabled;


    /**
    * 创建时间
    */
    @ApiModelProperty(hidden = true)
    private LocalDateTime createdtime;


    /**
    * 修改时间
    */
    @ApiModelProperty(hidden = true)
    private LocalDateTime updatedtime;


    /**
    * 建立人
    */
    private String createdby;


    /**
    * 修改人
    */
    private String modifiedby;



}
